<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后台导航</title>
    <script src="../../JS/jquery-1.12.4.js"></script>
    <script src="../../JS/timer.js"></script>
    <link rel="stylesheet" href="../../css/ht/ht-common.css">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css"
          integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous">
    </script>
    <!-- 旧版游览器兼容 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 国产游览器高速模式 -->
    <meta name="renderer" content="webkit">
    <!-- 移动设备兼容 -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <style>
        a:hover {
            text-decoration: none;
        }
    </style>
</head>
<body style="background-color: whitesmoke;">
<?php require('../Common/loginCheck.php'); ?>
<div class="nav_top">
    <div class="logo"><img src="../../images/Font_Icon/沐歌logo2.png" width="160" title="沐歌丨的logo" alt="沐歌丨的logo"></div>
    <div class="status">
        <img src="../../images/user/1.jpg" width="50" height="50" style="border-radius: 100%; margin-top: -11px"
             title="管理员头像" alt="管理员头像">
        <span><select onchange="window.location=this.value;" style="outline:none;background-color:#F4DDDD;border: none">
                  <option><?php
                      session_start();                 //启动session
                      echo $_SESSION["adminname"];  //从session中读取成功登录的管理员用户名
                      ?>
                  </option>
                  <option value="../Common/loginOut.php">注销</option>
              </select>
            <span id="dateShow"></span>
    </div>
</div>
<!-- 侧边栏starting -->
<div class="sidebar clearfix">
    <div class="title">
        <img src="../../images/Font_Icon/主页.png" width="28" title="主页" alt="主页">
        <a href="../User Management/ht_index.php" style="color: #333333;font-weight: normal">首页</a>
    </div>
    <div class="title" data-toggle="collapse" data-target="#userList" aria-expanded="false"
         aria-controls="collapseExample">
        <img src="../../images/Font_Icon/用户.png" width="28" alt="用户列表" title="用户列表">
        用户管理
    </div>
    <div class="collapse" id="userList">
        <div class="well">
            <ul>
                <li><a href="../User Management/ht_userList.php">用户列表</a></li>

            </ul>
        </div>
    </div>

    <div class="title" type="button" data-toggle="collapse" data-target="#category" aria-expanded="false"
         aria-controls="collapseExample1">
        <img src="../../images/Font_Icon/博客新闻.png" width="28" alt="博客" title="博客"/>
        博客信息管理
    </div>
    <div class="collapse" id="category">
        <div class="well">
            <ul>
                <li><a href="../Blog_List_manage/blogList.php">博客列表</a></li>
                <li><a href="../Blog_List_manage/addBlog.php">添加博客</a></li>
            </ul>
        </div>
    </div>
    <div class="title" type="button" data-toggle="collapse" data-target="#blogList" aria-expanded="false"
         aria-controls="collapseExample1">
        <img src="../../images/Font_Icon/类型.png" width="28" alt="博客" title="博客"/>
        博客类别管理
    </div>
    <div class="collapse" id="blogList">
        <div class="well">
            <ul>
                <li><a href="../Blog_cate_manage/blogSortList.php">类别列表</a></li>
                <li><a href="../Blog_cate_manage/addBlogSort.php">添加类别</a></li>
            </ul>
        </div>
    </div>

    <div class="title" data-toggle="collapse" data-target="#common" aria-expanded="false"
         aria-controls="collapseExample1">
        <img src="../../images/Font_Icon/留言.png" width="28" title="留言管理" alt="留言管理">
        留言管理
    </div>
    <div class="collapse" id="common">
        <div class="well">
            <ul>
                <li><a href="../Comment_manage/CommentList.php">留言列表</a></li>
            </ul>
        </div>
    </div>

</div>
<!-- 侧边栏ending -->
</body>

</html>